package com.zzyl.nursing.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zzyl.nursing.domain.pojo.DeviceData;
import com.zzyl.nursing.job.IotMsgNotifyData;

import java.util.List;

/**
 * deviceDateService接口
 * 
 * @author alexis
 * @date 2025-05-30
 */
public interface IDeviceDataService extends IService<DeviceData>
{
    /**
     * 查询deviceDate
     * 
     * @param id deviceDate主键
     * @return deviceDate
     */
    public DeviceData selectDeviceDataById(Long id);

    /**
     * 查询deviceDate列表
     * 
     * @param deviceData deviceDate
     * @return deviceDate集合
     */
    public List<DeviceData> selectDeviceDataList(DeviceData deviceData);

    /**
     * 新增deviceDate
     * 
     * @param deviceData deviceDate
     * @return 结果
     */
    public int insertDeviceData(DeviceData deviceData);

    /**
     * 修改deviceDate
     * 
     * @param deviceData deviceDate
     * @return 结果
     */
    public int updateDeviceData(DeviceData deviceData);

    /**
     * 批量删除deviceDate
     * 
     * @param ids 需要删除的deviceDate主键集合
     * @return 结果
     */
    public int deleteDeviceDataByIds(Long[] ids);

    /**
     * 删除deviceDate信息
     * 
     * @param id deviceDate主键
     * @return 结果
     */
    public int deleteDeviceDataById(Long id);

    void BatchSave(IotMsgNotifyData notifyData);
}
